{% extends "base.html" %}

{% block title %}有关那个老师{% endblock %}
{% block content %}
<div class="container">
	<br/>
	<h1>{{ look_teacher.subject }}{{ look_teacher.name }}老师</h1>
	<br/>
	<legend></legend>
	<h3>个人信息</h3>
	<div class="container-fluid">
		<div class="row">
			<div class="col-md-6">
				<table class="table table-striped">
					<thead>
						<th scope="col">{{ look_teacher.name }}</th>
						<th scope="col">一点基本信息</th>
					</thead>
					<tbody>
						<tr>
							<th scope="row">姓名</th>
							<td>{{ look_teacher.name }}</td>
						</tr>
						<tr>
							<th scope="row">学科</th>
							<td>{{ look_teacher.subject }}</td>
						</tr>
						<tr>
							<th scope="row">教学年级</th>
							<td>从{{ look_teacher.last_year }}年级教到了{{ look_teacher.host_year }}年级</td>
						</tr>
					</tbody>
				</table>
			</div>
			<div class="col-md-6">
				<table class="table table-striped">
					<thead>
						<th scope="col">#</th>
						<th scope="col">集体主观评分</th>
					</thead>
					<tbody>
						<tr>
							<th scope="row">智商</th>
							<td>{{ score.iq }}/10</td>
						</tr>
						<tr>
							<th scope="row">情商</th>
							<td>{{ score.eq }}/10</td>
						</tr>
						<tr>
							<th scope="row">教学水平</th>
							<td>{{ score.practice }}/10</td>
						</tr>
					</tbody>
				</table>
			</div>
		</div>
	</div>
	
	<br/>
	<h3>他人介绍:</h3>
	<p>{{ markdown|safe }}</p>

	<br/>
	<p>上次编辑：{{ look_teacher.last_edit }}</p>
	<a class="btn btn-primary" href="{% url 'teacher:history' look_teacher.teacher_id %}">查看编辑历史</a>
	<a class="btn btn-primary" href="{% url 'teacher:editor_old' look_teacher.teacher_id %}" 
					role='button'>我要补充几句！</a>
	<a class="btn btn-primary" href="{% url 'teacher:comment' look_teacher.teacher_id %}" 
					role='button'>查看评论</a>
	<a class="btn btn-primary" href="{% url 'teacher:comment_editor' look_teacher.teacher_id %}" 
					role='button'>编辑评论</a>
	<br/><br/>
	<!-- <div class="social-share"></div> -->
</div>
{% endblock %}